#include <bits/stdc++.h>
#define ll long long
#define endl '\n'
#define N 10010

using namespace std;

int n,k;
int arr[N];
void solve()
{
    cin>>n>>k;
    for(int i = 1;i<=n;++i)
    {
        cin>>arr[i];
    }
    sort(arr+1,arr+n+1);
    int newLen = unique(arr+1,arr+n+1)-(arr+1);
    cout<<(k>newLen?"NO RESULT":to_string(arr[k]))<<endl;
}

int main()
{
    std::ios::sync_with_stdio(false);
    std::cin.tie(nullptr);
    std::cout.tie(nullptr);
    solve();
    return 0;
}